//
//  mmjQuickLoginButton.m
//  Social
//
//  Created by seirra on 2018/5/14.
//  Copyright © 2018年 mmj. All rights reserved.
//

#import "mmjQuickLoginButton.h"

@implementation mmjQuickLoginButton

-(void)awakeFromNib{
    //self.imageView.backgroundColor = [UIColor redColor];
    //self.titleLabel.backgroundColor = [UIColor greenColor];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.mmj_y = 0;
    self.imageView.mmj_centerX = self.mmj_width*0.5;
    
    self.titleLabel.mmj_x = 0;
    self.titleLabel.mmj_y = self.imageView.mmj_bottom;
    self.titleLabel.mmj_height = self.mmj_height-self.titleLabel.mmj_y;
    self.titleLabel.mmj_width = self.mmj_width;
}

@end
